package com.kmxd.ams.infra.tmpl.tmpl;

import com.kmxd.ams.infra.tmpl.dto.ArchTmplBO;
import com.kmxd.ams.infra.tmpl.util.TmplCommon;
import java.util.List;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.compress.utils.Lists;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 电子文件
 *
 * @author ZuoLG
 * @description:
 */
@Slf4j
@Service("i_efile_record")
public class TmplEfile implements AbstractTmpl {
  @Autowired private TmplCommon tmplCommon;

  @Override
  public List<ArchTmplBO> getTmpl() {
    List<ArchTmplBO> tmpls = Lists.newArrayList();
    ArchTmplBO efile = new ArchTmplBO();
    efile.setName("电子文件");
    efile.setFields(tmplCommon.getField(TmplCommon.EFILE));
    tmpls.add(efile);
    return tmpls;
  }
}
